import React from 'react';
import {
  SettingOutlined,
  MenuFoldOutlined,
  BookOutlined,
  QuestionCircleOutlined,
  BlockOutlined,
} from '@ant-design/icons';

// 左侧菜单icon
export const MENUS_ICON = (iconType: string) => {
  return {
    MenuFoldOutlined: <MenuFoldOutlined />,
    SettingOutlined: <SettingOutlined />,
    BookOutlined: <BookOutlined />,
    QuestionCircleOutlined: <QuestionCircleOutlined />,
    BlockOutlined: <BlockOutlined />,
  }[iconType];
};
